package com.learn.mybatis;

import com.learn.mybatis.config.MybatisProperties;

import javax.annotation.Resource;

public class MyBatisConnection {

//    private String url = "127.0.0.1:3306";

    @Resource
    private MybatisProperties mybatisProperties;

    public void connect() {
        System.out.println("url:" + mybatisProperties.getUrl());
    }

}
